package org.easyupdater;

import java.io.InputStream;
import java.io.OutputStream;

import org.easyupdater.model.ApplicationSpec;

/**
 * An interface that defines the methods for serializing and deserializing the
 * application specification
 * 
 * @author Bogdan Dimitriu
 */
public interface IApplicationSpecSerializer {

	ApplicationSpec downloadApplicationSpec(InputStream appUpdateSiteInputStream);

	void saveApplicationSpec(ApplicationSpec applicationSpec, OutputStream outputStream);
}
